package cn.yangliu.nacos.consumer.feign.hystrix;

import cn.yangliu.nacos.comm.JsonResult;
import cn.yangliu.nacos.consumer.feign.Oauth2ClientInfo;
import cn.yangliu.nacos.consumer.feign.Oauth2Service;
import cn.yangliu.nacos.consumer.model.UserModel;
import org.springframework.stereotype.Component;

/**
 * The type of nacos.
 *
 * @author 问道于盲
 * @date 2019-12-30
 */
@Component
public class Oauth2ServiceFallback implements Oauth2Service {

    @Override
    public JsonResult<Oauth2ClientInfo> clientInfo(String token) {
        return null;
    }

    @Override
    public JsonResult<UserModel> principal(String author) {
        return null;
    }
}
